aux_source_directory(. CPP_FILES)
aux_source_directory(./db DB_FILES)
aux_source_directory(./model MODEL_FILES)
aux_source_directory(./redis REDIS_FILES)
add_executable(chatserver ${CPP_FILES} ${DB_FILES} ${MODEL_FILES} ${REDIS_FILES})

target_link_libraries(chatserver muduo_net muduo_base pthread mysqlclient hiredis)


# add_executable(chatclient ${CPP_FILES} ${DB_FILES} ${MODEL_FILES})

# target_link_libraries(chatclient muduo_net muduo_base pthread mysqlclient)
